# -*- coding: utf-8 -*-
# @Project: 芒果测试平台
# @Description: api用例执行类
# @Time   : 2022-11-04 22:05
# @Author : 毛鹏
#
# from aiohttp import ClientSession
# from aiohttp.client_reqrep import ClientResponse
#
# from src.models.api_model import ResponseDataModel
# from src.services.api.base_tools.http_request import HTTPRequest
# from src.tools.log_collector import log
#
#
# class Dependence:
#     pass
#
#
# class ApiCaseRun(HTTPRequest, Dependence):
#
#     async def http_(self, session: ClientSession, request: ResponseDataModel) -> tuple[ClientResponse, float]:
#         pass
#
#     async def get_header(self) -> str:
#         header = await self.get('header')
#         if header:
#             return header
#         log.error(f"请求头为：{header}")
#
#     async def request_data(self, data: str) -> str:
#         return await self.replace_text(data)
